*************************************************************************
<!--CUSTOM PROPERTIES:-->
*************************************************************************

<!--PrintTextAutoLF: If true, the driver sends a LF after every PrintNormal or PrintImmediate-->	
<prop name="PrintTextAutoLF" type="String" value="true"/>

<!--EnableTOStsSignal: If true, and the printer supports it, the driver signals PTR_SUE_REC_CARTRIDGE_EMPTY if the ticket is present on output, otherwise PTR_SUE_REC_CARTDRIGE_OK-->	
<prop name="EnableTOStsSignal" type="String" value="false"/>

<!--DefColumns: Default Number of text columns (if "0" isn't set)-->	
<prop name="DefColumns" type="String" value="0"/>

<!--logmaxfilesize: Max log file size (KB) before delete it (Default value "1024") -->	
<prop name="logmaxfilesize" type="String" value="1024"/>

<!--logbackupold: if true, when the log file size is over the max, before delete it, it's copied with a ".old" extension (Default false) -->	
<prop name="logbackupold" type="String" value="false"/>

<!--FontDefaultFromID: Default font selected. The values could be 0 (default) 1 or 2  -->	
<prop name="FontDefaultFromID" type="String" value="0"/>

<!--FontDefaultCP: Default font code page selected.  -->	
<prop name="FontDefaultCP" type="String" value="437"/>

<!--FontDefaultLS: Default print line space.  -->	
<prop name="FontDefaultLS" type="String" value="64"/>

*************************************************************************
<!--BARCODE SCALING:-->
*************************************************************************



Two properties have been added in Custom JavaPos driver to scale a barcode if developers cannot modify barcode dimensions in their java class:

BarcodeScaleW and BarcodeScaleH.



These two properties are used as multipliers for barcode width and height points written in PrintBarcode function: if width is set to 100 and BarcodeScaleW is set to 2.7, new value for maximum barcode width dimension will be 270 points.

Properties are:

1)

<!--BarcodeScaleW: Barcode Width scale / multiplier (if "1",the width remain the same) for all the barcodes (if not set)  -->

<!--Example: if "BarcodeScaleW" is set to "1.5" and the value into PrintBarcode is 100, the new value will be 150  -->

<prop name="BarcodeScaleW" type="String" value="1"/>

2)

<!--BarcodeScaleH: Barcode Height scale / multiplier (if "1",the height remain the same) for all the barcodes (if not set)  -->

<!--Example: if "BarcodeScaleH" is set to "1.5" and the value into PrintBarcode is 100, the new value will be 150  -->

<prop name="BarcodeScaleH" type="String" value="1"/>



They have to be added in jpos.xml file, in the specific <JposEntry> for the printer in use.

If,for example, a TG2480H printer is used under windows via USB, jpos.xml should look like:

<JposEntry logicalName="CUSTOM TG2480H POS Printer USB">

        <creation factoryClass="custom.services.posprinter.SimpleJPOSServiceInstanceFactory" serviceClass="custom.services.posprinter.TG2480H.CUSTOM_TG2480HPrinterService"/>

        ...

	...

	<prop name="BarcodeScaleW" type="String" value="3.4"/>

	<prop name="BarcodeScaleH" type="String" value="1.8"/>

</JposEntry>



If these properties are used, every barcodes printed will be scaled.



The same properties can be also barcode type specific as indicated below:


<!--BarcodeScaleW_PDF417: Like "BarcodeScaleW" but only for PDF417 Barcode type  -->	
<prop name="BarcodeScaleW_PDF417" type="String" value="1"/>	
<!--BarcodeScaleH_PDF417: Like "BarcodeScaleH" but only for PDF417 Barcode type  -->	
<prop name="BarcodeScaleH_PDF417" type="String" value="1"/>

<!--BarcodeScaleW_DATAMATRIX: Like "BarcodeScaleW" but only for DATAMATRIX Barcode type  -->	
<prop name="BarcodeScaleW_DATAMATRIX" type="String" value="1"/>	
<!--BarcodeScaleH_DATAMATRIX: Like "BarcodeScaleH" but only for DATAMATRIX Barcode type  -->	
<prop name="BarcodeScaleH_DATAMATRIX" type="String" value="1"/>

<!--BarcodeScaleW_QRCODE: Like "BarcodeScaleW" but only for QRCODE Barcode type  -->	
<prop name="BarcodeScaleW_QRCODE" type="String" value="1"/>	
<!--BarcodeScaleH_QRCODE: Like "BarcodeScaleH" but only for QRCODE Barcode type  -->	
<prop name="BarcodeScaleH_QRCODE" type="String" value="1"/>

<!--BarcodeScaleW_AZTEC: Like "BarcodeScaleW" but only for AZTEC Barcode type  -->	
<prop name="BarcodeScaleW_AZTEC" type="String" value="1"/>	
<!--BarcodeScaleH_AZTEC: Like "BarcodeScaleH" but only for AZTEC Barcode type  -->	
<prop name="BarcodeScaleH_AZTEC" type="String" value="1"/>

<!--BarcodeScaleW_Code128: Like "BarcodeScaleW" but only for Code128 Barcode type  -->	
<prop name="BarcodeScaleW_Code128" type="String" value="1"/>	
<!--BarcodeScaleH_Code128: Like "BarcodeScaleH" but only for Code128 Barcode type  -->	
<prop name="BarcodeScaleH_Code128" type="String" value="1"/>
	
<!--BarcodeScaleW_Codabar: Like "BarcodeScaleW" but only for Codabar Barcode type  -->	
<prop name="BarcodeScaleW_Codabar" type="String" value="1"/>	
<!--BarcodeScaleH_Codabar: Like "BarcodeScaleH" but only for Codabar Barcode type  -->	
<prop name="BarcodeScaleH_Codabar" type="String" value="1"/>

<!--BarcodeScaleW_Code39: Like "BarcodeScaleW" but only for Code39 Barcode type  -->	
<prop name="BarcodeScaleW_Code39" type="String" value="1"/>	
<!--BarcodeScaleH_Code39: Like "BarcodeScaleH" but only for Code39 Barcode type  -->	
<prop name="BarcodeScaleH_Code39" type="String" value="1"/>

<!--BarcodeScaleW_Code93: Like "BarcodeScaleW" but only for Code93 Barcode type  -->	
<prop name="BarcodeScaleW_Code93" type="String" value="1"/>	
<!--BarcodeScaleH_Code93: Like "BarcodeScaleH" but only for Code93 Barcode type  -->	
<prop name="BarcodeScaleH_Code93" type="String" value="1"/>

<!--BarcodeScaleW_EAN13: Like "BarcodeScaleW" but only for EAN13 Barcode type  -->	
<prop name="BarcodeScaleW_EAN13" type="String" value="1"/>	
<!--BarcodeScaleH_EAN13: Like "BarcodeScaleH" but only for EAN13 Barcode type  -->	
<prop name="BarcodeScaleH_EAN13" type="String" value="1"/>

<!--BarcodeScaleW_EAN8: Like "BarcodeScaleW" but only for EAN8 Barcode type  -->	
<prop name="BarcodeScaleW_EAN8" type="String" value="1"/>	
<!--BarcodeScaleH_EAN8: Like "BarcodeScaleH" but only for EAN8 Barcode type  -->	
<prop name="BarcodeScaleH_EAN8" type="String" value="1"/>

<!--BarcodeScaleW_ITF: Like "BarcodeScaleW" but only for ITF Barcode type  -->	
<prop name="BarcodeScaleW_ITF" type="String" value="1"/>	
<!--BarcodeScaleH_ITF: Like "BarcodeScaleH" but only for ITF Barcode type  -->	
<prop name="BarcodeScaleH_ITF" type="String" value="1"/>

<!--BarcodeScaleW_UPCA: Like "BarcodeScaleW" but only for UPCA Barcode type  -->	
<prop name="BarcodeScaleW_UPCA" type="String" value="1"/>	
<!--BarcodeScaleH_UPCA: Like "BarcodeScaleH" but only for UPCA Barcode type  -->	
<prop name="BarcodeScaleH_UPCA" type="String" value="1"/>

<!--BarcodeScaleW_UPCE: Like "BarcodeScaleW" but only for UPCE Barcode type  -->	
<prop name="BarcodeScaleW_UPCE" type="String" value="1"/>	
<!--BarcodeScaleH_UPCE: Like "BarcodeScaleH" but only for UPCE Barcode type  -->	
<prop name="BarcodeScaleH_UPCE" type="String" value="1"/>










